package com.zb.vo;

import com.zb.annotation.NumberPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2024/3/19 0019
 **/
@Data
@ApiModel("工单审核改派")
public class WorkCheckReassignVo {
    @NotNull(message = "改派工单ID不能为空")
    @ApiModelProperty(value = "改派工单ID", required = true)
    private Long id;

    @NotNull(message = "审核类型不能为空")
    @NumberPattern(regexp = "^(1|2)$", required = true, message = "审核类型参数不合法")
    @ApiModelProperty(value = "审核类型：1-审核通过，2-驳回", required = true, example = "1")
    private Integer checkTypep;

    @ApiModelProperty(value = "新服务商ID")
    private Long changeToNetworkId;

    @ApiModelProperty(value = "新服务商工程师ID")
    private Long networkEmpId;

    @Length(max = 100, message = "备注长度限制100个字符")
    @ApiModelProperty(value = "备注")
    private String remark;


}
